package com.bean;
import org.hibernate.validator.constraints.NotBlank;
public class User {
  private int uid;
  @NotBlank(message="{uname.required}")
  private String username;
  @NotBlank(message="{userpass.required}")
  private String userpass;
  private String userpass1;
  private String userpass2;
  @NotBlank(message="{usertel.required}")
  private String usertel;
  @NotBlank(message="{realname.required}")
  private String realname;
  @NotBlank(message="{address.required}")
  private String address;
public int getUid() {
	return uid;
}
public void setUid(int uid) {
	this.uid = uid;
}
public String getUsername() {
	return username;
}
public void setUsername(String username) {
	this.username = username;
}
public String getUserpass() {
	return userpass;
}
public void setUserpass(String userpass) {
	this.userpass = userpass;
}
public String getUsertel() {
	return usertel;
}
public void setUsertel(String usertel) {
	this.usertel = usertel;
}
public String getRealname() {
	return realname;
}
public void setRealname(String realname) {
	this.realname = realname;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public String getUserpass1() {
	return userpass1;
}
public void setUserpass1(String userpass1) {
	this.userpass1 = userpass1;
}
public String getUserpass2() {
	return userpass2;
}
public void setUserpass2(String userpass2) {
	this.userpass2 = userpass2;
}

}
